package com.tqjc.system.C24012.common.enums;

import com.tqjc.system.C24012.core.service.config.RefreshConfigCacheService;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @Author: 86195
 * @CreateTime: 2024-07-16  09:52
 * @Description: TODO
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
public class ConfigCacheEnum implements RefreshConfigCacheService {

    private String configType;

    private String configId;

    private String desc;

    @Override
    public void refreshCache(Object value) {

    }


//    public static ConfigCacheEnum getConfigCacheEnum(String configId,String configType){
//        for (ConfigCacheEnum value : ConfigCacheEnum.values()) {
//            if(value.configId.equals(configId) && value.configType.equals(configType)){
//
//                return value;
//            }
//
//        }
//        return null;
//    }
}
